package com.lvy.hczn.transmit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lvy.hczn.front.system.domain.business.Spu;
import com.lvy.hczn.mq.rocket.ParamInfo;
import com.lvy.hczn.transmit.domain.ProductSupplierGoods;
import com.lvy.hczn.transmit.domain.dto.cteck.ProductSellerGoods;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ProductSupplierGoodsService extends IService<ProductSupplierGoods> {

    /**
     * 商品同步
     *
     * @param request
     * @param info
     */
    void syncProductBatch(HttpServletRequest request, ParamInfo info);

    /**
     * 商品同步
     *
     * @return
     */
    List<Spu> syncProductSupplierToWarehouse(HttpServletRequest request) throws Exception;
}
